package indi.jp.project.core.entity.po;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 附件PO
 *
 * @author jiangping
 * @date 2022/5/13
 */
public class AttachmentPO {

    /**
     * 主键
     */
    private String id;

    /**
     * 源ID
     */
    private String sId;

    /**
     * 附件类型（业务自定）
     */
    private int category;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 文件存储名
     */
    private String storageName;

    /**
     * 文件存储路径
     */
    private String storagePath;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getStorageName() {
        return storageName;
    }

    public void setStorageName(String storageName) {
        this.storageName = storageName;
    }

    public String getStoragePath() {
        return storagePath;
    }

    public void setStoragePath(String storagePath) {
        this.storagePath = storagePath;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
